package com.cf.spider;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * boot-awm-SpiderSystemProperty
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/7/11 上午 10:38
 */
@Configuration
@ConfigurationProperties(prefix = "zmm.spider")
public class SpiderSystemProperty {

    public int maxFetchNum = 2;

    public int maxPushNum = 5;


    public int getMaxFetchNum() {
        return maxFetchNum;
    }

    public void setMaxFetchNum(int maxFetchNum) {
        this.maxFetchNum = maxFetchNum;
    }

    public int getMaxPushNum() {
        return maxPushNum;
    }

    public void setMaxPushNum(int maxPushNum) {
        this.maxPushNum = maxPushNum;
    }
}
